﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="lp_today_list.aspx.cs"
    Inherits="ZLDC.Estate.Quantify.Report.lp_today_list" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title></title>

    <script src="../../js/jquery/jquery-1.3.2.js" type="text/javascript"></script>

    <link href="../../css/main1.css" rel="stylesheet" type="text/css" />

    <script src="../charts/FusionCharts.js" type="text/javascript"></script>

    <script src="../charts/highcharts1.js" type="text/javascript"></script>

    <script src="../js/GetUrl.js" type="text/javascript"></script>

    <%--<link href="../css/lp_today_list.css" rel="stylesheet" type="text/css" />--%>
    <link href="../css/163css.css" rel="stylesheet" type="text/css" />

    <script src="js/lp_today_list.js" type="text/javascript"></script>

 

    <script type="text/javascript">

      
        var depttype = '<%=depttype %>';
        var deptid = '<%=deptid %>';
        var jsdeptid = '<%=jsdeptid %>';
        var todaydeptid = '<%=todaydeptid%>';
        var todaydepttype = '<%=todaydepttype %>';


        function ReplyList() {
            parent.parent.closeTab("回复 ");
            parent.parent.addTab("回复 ", "../quantify/lp_All_Collection.aspx?type=1", "icon-nav");
        }
        function divReplynumber() {
            document.getElementById('divReply').innerHTML = "<img src=\"../../images/loading.gif\"  />";
            $.ajax({
                type: "POST",
                url: "../AjaxServer.aspx",
                dataType: 'json',
                data: "alt=ReplyNumber",
                processData: false,
                timeout: '10000',
                success: function(msg) {
              
                    if (msg.number > 0) {
                        document.getElementById('divReply').innerHTML = "<a style='color:blue'>您的意见回复</a>" + ("<a style='color:red' >" + msg.number + "</a>" + "条");
                    }
                    else
                    { document.getElementById('divReply').innerHTML = "<a style='color:blue'>您的意见回复</a>" + ("<a style='color:red'  >0</a>" + "条"); }
                },
                error: function() {
                    document.getElementById('divReply').innerHTML = "系统繁忙";
                }

            });
        }
    </script>

</head>
<body style="background: #f2f6fb">
    <form id="form1" runat="server">
   
   
    <div>
        <div id="tabs0" style="height: 100%; background: #f2f6fb">
            <div class="menuA">
                <ul class="menu0" id="menu0" style="margin: 0 0 0 0; padding: 0 0 0 0;">
                    <li onclick="setTab(0,0);GetAdminUrl();" class="libg"><a>今日工作</a></li>
                    <li onclick="setTab(0,1);ajaxList();yesdayList();"><a>昨日工作</a></li>
                    <li onclick="setTab(0,2);Commentlist();"><a>经理人评语(今日与昨日)</a></li>
                     <li onclick="ReplyList()"><div id="divReply"></div></li>
                </ul>
            </div>
            <br />
          
                <div id="main0">
                    <ul class="block" style="margin: 0 0 0 0; padding: 0 0 0 0;">
                        <li style="list-style-type: none;">
                            <div id="divv0">
                                <table style="margin-top: 0px;" class="table">
                                    <tr>
                                        <td>
                                            <a id="anone" runat="server" href="lp_today_list.aspx" style="display: none">返回</a>
                                            <asp:Button ID="btnUpdate" runat="server" Text="刷新" CssClass="button1" Visible="false"
                                                OnClick="btnUpdate_Click" /><span id="a_Average" runat="server" style="color: blue"></span>
                                        </td>
                                        <td>
                                        </td>
                                    </tr>
                                </table>
                                <table>
                                    <tr>
                                        <td align="char" style="margin-top: 0px;">
                                            <div id="divwork">
                                            </div>
                                            <div id="progressbar1" runat="server">
                                            </div>
                                            <%--    <script>                        textCounter("progressbar1", "progressbar1", 120)</script>--%>
                                            <div class="div1">
                                                <%=sb.ToString() %>
                                            </div>
                                            <div style="float: left; margin-left: 3px;">
                                                <div id="div1">
                                                </div>
                                            </div>
                                        </td>
                                        <td>
                                            <div>
                                                <asp:Literal ID="myNext" runat="server"></asp:Literal>
                                                <asp:HiddenField ID="hidchart" runat="server" />
                                                <div id="diccharttoday">
                                                </div>

                                                <script type="text/javascript">
                                                    if (document.getElementById('hidchart').value != "") {
                                                        var todaychart = "[";
                                                        todaychart += document.getElementById('hidchart').value;
                                                        todaychart = todaychart.substring(0, todaychart.length - 1);
                                                        todaychart += "]";
                                                        todaychart = eval('' + todaychart + '');
                                                        chartxs(todaychart, '今日工作', 'diccharttoday');
                                                    }
                                                </script>

                                            </div>
                                        </td>
                                    </tr>
                                </table>
                            </div>
                        </li>
                    </ul>
                    <ul style="margin: 0 0 0 0; padding: 0 0 0 0;">
                        <li style="list-style-type: none;">
                            <div id="divv1">
                                <table>
                                    <tr>
                                        <td>
                                            <div style="font-size: 13px; font-weight: bold; display: none; width: 100%" runat="server"
                                                id="divdeptnum">
                                                <span id="YesterDay" runat="server" style="width: 220px; float: left;"></span><span
                                                    style="width: 100px; float: left;" id="District" runat="server"></span><span id="Average"
                                                        style="width: 150px;" runat="server"></span>
                                            </div>
                                            <div id="worklist">
                                              
                                            </div>
                                        </td>
                                        <td>
                                            <div>
                                                <!-- START Script Block for Chart myNext -->
                                                <div id='divchart'>
                                                </div>

                                                <script type="text/javascript">
                                                   
                                                </script>

                                            </div>
                                        </td>
                                    </tr>
                                </table>
                            </div>
                        </li>
                    </ul>
                    <ul>
                        <li style="list-style-type: none;">
                            <div id="divv2">
                                <div id="divComment">
                                </div>

                              
                            </div>
                        </li>
                    </ul>
                </div>
            
        </div>
        <%=ZLDC.Topo.BLL.Estate.lp_Basis.GetManagerlh()%></div>

    <table style="text-align: center; width: 100%;">
        <tr>
            <td>
                <div id="divadminUrl">
                </div>
            </td>
        </tr>
    </table>

 

    </form>
</body>
</html>
